/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.jcds.common.utils.Constants;
import com.umeng.analytics.pro.z;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class HomeEntity {
    @Nullable
    private final List<AiItemShowBean> aiItemShows;
    @NotNull
    private final List<BannerBean> bannerList;
    @NotNull
    private final List<Component> bottomRightTopBtn;
    @NotNull
    private final List<FunctionItem> functionItemList;
    @NotNull
    private final List<JiucuoBook> jiucuoBookList;
    private final boolean knowledgeRecommendFlag;
    private final boolean needReplenishGrade;
    @NotNull
    private final String schema;
    private final boolean schemaShow;
    @Nullable
    private final SmallIconPageEntity smallIconPage;
    @NotNull
    private final User user;

    public HomeEntity(@NotNull List<BannerBean> bannerList, @NotNull List<FunctionItem> functionItemList, @NotNull List<JiucuoBook> jiucuoBookList, boolean z, @NotNull User user, @NotNull List<Component> bottomRightTopBtn, @NotNull String schema, boolean z2, boolean z3, @Nullable List<AiItemShowBean> list, @Nullable SmallIconPageEntity smallIconPageEntity) {
        Intrinsics.checkNotNullParameter(bannerList, "bannerList");
        Intrinsics.checkNotNullParameter(functionItemList, "functionItemList");
        Intrinsics.checkNotNullParameter(jiucuoBookList, "jiucuoBookList");
        Intrinsics.checkNotNullParameter(user, "user");
        Intrinsics.checkNotNullParameter(bottomRightTopBtn, "bottomRightTopBtn");
        Intrinsics.checkNotNullParameter(schema, "schema");
        this.bannerList = bannerList;
        this.functionItemList = functionItemList;
        this.jiucuoBookList = jiucuoBookList;
        this.needReplenishGrade = z;
        this.user = user;
        this.bottomRightTopBtn = bottomRightTopBtn;
        this.schema = schema;
        this.schemaShow = z2;
        this.knowledgeRecommendFlag = z3;
        this.aiItemShows = list;
        this.smallIconPage = smallIconPageEntity;
    }

    @NotNull
    public final List<BannerBean> component1() {
        return this.bannerList;
    }

    @Nullable
    public final List<AiItemShowBean> component10() {
        return this.aiItemShows;
    }

    @Nullable
    public final SmallIconPageEntity component11() {
        return this.smallIconPage;
    }

    @NotNull
    public final List<FunctionItem> component2() {
        return this.functionItemList;
    }

    @NotNull
    public final List<JiucuoBook> component3() {
        return this.jiucuoBookList;
    }

    public final boolean component4() {
        return this.needReplenishGrade;
    }

    @NotNull
    public final User component5() {
        return this.user;
    }

    @NotNull
    public final List<Component> component6() {
        return this.bottomRightTopBtn;
    }

    @NotNull
    public final String component7() {
        return this.schema;
    }

    public final boolean component8() {
        return this.schemaShow;
    }

    public final boolean component9() {
        return this.knowledgeRecommendFlag;
    }

    @NotNull
    public final HomeEntity copy(@NotNull List<BannerBean> bannerList, @NotNull List<FunctionItem> functionItemList, @NotNull List<JiucuoBook> jiucuoBookList, boolean z, @NotNull User user, @NotNull List<Component> bottomRightTopBtn, @NotNull String schema, boolean z2, boolean z3, @Nullable List<AiItemShowBean> list, @Nullable SmallIconPageEntity smallIconPageEntity) {
        Intrinsics.checkNotNullParameter(bannerList, "bannerList");
        Intrinsics.checkNotNullParameter(functionItemList, "functionItemList");
        Intrinsics.checkNotNullParameter(jiucuoBookList, "jiucuoBookList");
        Intrinsics.checkNotNullParameter(user, "user");
        Intrinsics.checkNotNullParameter(bottomRightTopBtn, "bottomRightTopBtn");
        Intrinsics.checkNotNullParameter(schema, "schema");
        return new HomeEntity(bannerList, functionItemList, jiucuoBookList, z, user, bottomRightTopBtn, schema, z2, z3, list, smallIconPageEntity);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof HomeEntity)) {
            return false;
        }
        HomeEntity homeEntity = (HomeEntity) obj;
        return Intrinsics.areEqual(this.bannerList, homeEntity.bannerList) && Intrinsics.areEqual(this.functionItemList, homeEntity.functionItemList) && Intrinsics.areEqual(this.jiucuoBookList, homeEntity.jiucuoBookList) && this.needReplenishGrade == homeEntity.needReplenishGrade && Intrinsics.areEqual(this.user, homeEntity.user) && Intrinsics.areEqual(this.bottomRightTopBtn, homeEntity.bottomRightTopBtn) && Intrinsics.areEqual(this.schema, homeEntity.schema) && this.schemaShow == homeEntity.schemaShow && this.knowledgeRecommendFlag == homeEntity.knowledgeRecommendFlag && Intrinsics.areEqual(this.aiItemShows, homeEntity.aiItemShows) && Intrinsics.areEqual(this.smallIconPage, homeEntity.smallIconPage);
    }

    @Nullable
    public final List<AiItemShowBean> getAiItemShows() {
        return this.aiItemShows;
    }

    @NotNull
    public final List<BannerBean> getBannerList() {
        return this.bannerList;
    }

    @NotNull
    public final List<Component> getBottomRightTopBtn() {
        return this.bottomRightTopBtn;
    }

    @NotNull
    public final List<FunctionItem> getFunctionItemList() {
        return this.functionItemList;
    }

    @NotNull
    public final List<JiucuoBook> getJiucuoBookList() {
        return this.jiucuoBookList;
    }

    public final boolean getKnowledgeRecommendFlag() {
        return this.knowledgeRecommendFlag;
    }

    public final boolean getNeedReplenishGrade() {
        return this.needReplenishGrade;
    }

    @NotNull
    public final String getSchema() {
        return this.schema;
    }

    public final boolean getSchemaShow() {
        return this.schemaShow;
    }

    @Nullable
    public final SmallIconPageEntity getSmallIconPage() {
        return this.smallIconPage;
    }

    @NotNull
    public final User getUser() {
        return this.user;
    }

    public int hashCode() {
        int hashCode = ((((this.bannerList.hashCode() * 31) + this.functionItemList.hashCode()) * 31) + this.jiucuoBookList.hashCode()) * 31;
        boolean z = this.needReplenishGrade;
        int i2 = 1;
        if (z) {
            z = true;
        }
        int i3 = z ? 1 : 0;
        int i4 = z ? 1 : 0;
        int i5 = z ? 1 : 0;
        int hashCode2 = (((((((hashCode + i3) * 31) + this.user.hashCode()) * 31) + this.bottomRightTopBtn.hashCode()) * 31) + this.schema.hashCode()) * 31;
        boolean z2 = this.schemaShow;
        if (z2) {
            z2 = true;
        }
        int i6 = z2 ? 1 : 0;
        int i7 = z2 ? 1 : 0;
        int i8 = z2 ? 1 : 0;
        int i9 = (hashCode2 + i6) * 31;
        boolean z3 = this.knowledgeRecommendFlag;
        if (!z3) {
            i2 = z3 ? 1 : 0;
        }
        int i10 = (i9 + i2) * 31;
        List<AiItemShowBean> list = this.aiItemShows;
        int i11 = 0;
        int hashCode3 = (i10 + (list == null ? 0 : list.hashCode())) * 31;
        SmallIconPageEntity smallIconPageEntity = this.smallIconPage;
        if (smallIconPageEntity != null) {
            i11 = smallIconPageEntity.hashCode();
        }
        return hashCode3 + i11;
    }

    @NotNull
    public String toString() {
        return "HomeEntity(bannerList=" + this.bannerList + ", functionItemList=" + this.functionItemList + ", jiucuoBookList=" + this.jiucuoBookList + ", needReplenishGrade=" + this.needReplenishGrade + ", user=" + this.user + ", bottomRightTopBtn=" + this.bottomRightTopBtn + ", schema=" + this.schema + ", schemaShow=" + this.schemaShow + ", knowledgeRecommendFlag=" + this.knowledgeRecommendFlag + ", aiItemShows=" + this.aiItemShows + ", smallIconPage=" + this.smallIconPage + ')';
    }
}